import java.util.*;

public class Main1 {
    public static void main(String[] args)
    {
        Scanner cin = new Scanner(System.in);
        int arr[] = new int[10];

        for(int i =0;i<10;i++)
            arr[i] = cin.nextInt();

        Arrays.sort(arr);

        for(int i =0;i<10;i++)
        {
            if(i!=9)
                System.out.print(arr[i]+" ");
            else
                System.out.print(arr[i]);
        }

        cin.close();
    }
}